﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HotelManager.Data_Transfer_Layer
{
    class phongDTO
    {
        #region Variables
        private int p_id, kv_id, lp_id;
        private string p_tenphong, p_tinhtrang;
        #endregion

        #region Properties
        public string P_tinhtrang
        {
            get { return p_tinhtrang; }
            set { p_tinhtrang = value; }
        }

        public string P_tenphong
        {
            get { return p_tenphong; }
            set { p_tenphong = value; }
        }
        public int Lp_id
        {
            get { return lp_id; }
            set { lp_id = value; }
        }

        public int Kv_id
        {
            get { return kv_id; }
            set { kv_id = value; }
        }

        public int P_id
        {
            get { return p_id; }
            set { p_id = value; }
        }
        #endregion

        public phongDTO()
        {
            p_id = -1;
            kv_id = 1;
            lp_id = 1;
            p_tenphong = "";
            p_tinhtrang = "";
        }
        public phongDTO(int p_id, int kv_id, int lp_id, string p_tenphong, string p_tinhtrang)
        {
            this.p_id = p_id;
            this.kv_id = kv_id;
            this.lp_id = lp_id;
            this.p_tenphong = p_tenphong;
            this.p_tinhtrang = p_tinhtrang;
        }
    }
}
